<template>
	<uv-popup ref="popupRef" mode="center" round="28rpx">
		<view class="desc-pop">
			<view class="title">
				佣金说明
			</view>
			<scroll-view style="max-height: 400rpx;">
				<view class="content">
					您的租车方案还有十天到期
					请选择新的续租方案？
				</view>
			</scroll-view>

			<button class="cu-btn" @click="handConfirm">我知道了</button>
		</view>
	</uv-popup>
</template>

<script setup>
	import {
		reactive,
		ref
	} from 'vue'
	const handConfirm = () => {
		handClose()
	}

	const popupRef = ref(null)
	const handOpen = () => {
		popupRef.value.open()
	}
	const handClose = () => {
		popupRef.value.close()
	}
	defineExpose({
		handOpen
	})
</script>

<style lang="scss" scoped>
	.desc-pop {
		width: 566rpx;
		background: linear-gradient(181deg, #FFF7E4 0%, #FFFFFF 100%);
		border-radius: 20rpx;
		padding: 40rpx 32rpx 48rpx 32rpx;

		.title {
			text-align: center;
			font-size: 36rpx;
			font-family: PingFang SC-Bold, PingFang SC;
			font-weight: bold;
			color: #333333;
		}

		.content {

			margin: 56rpx auto 0 auto;
			font-size: 30rpx;
			line-height: 45rpx;
			font-family: PingFang SC-Regular, PingFang SC;
			font-weight: 400;
			color: #333333;
		}

		.cu-btn {
			margin-top: 66rpx;
			width: 100%;
			height: 88rpx;
			background: #FFC434;
			border-radius: 16rpx;
			font-size: 32rpx;
			font-family: PingFang SC-Medium, PingFang SC;
			font-weight: 500;
			color: #333333;
		}

	}
</style>